import request from '@/utils/request'

// 查询热门视频分页列表
export function listHotVideo(data) {
  return request({
    url: '/admin/hotvideo/page',
    method: 'put',
    data: data
  })
}
// 新增热门视频
export function addHotVideo(data) {
  return request({
    url: '/admin/hotvideo/add',
    method: 'post',
    data
  })
}

export function listAIAgent(params) {
  return request({
    url: '/ai/agent/page',
    method: 'put',
    data: params
  })
}

// 修改热门视频
export function updateHotVideo(data) {
  return request({
    url: '/admin/hotvideo/update',
    method: 'put',
    data: data
  })
}
